import { http } from '@/utils/http'

// 列表接口
export const getTaskListAPI = (data: any) => {
  return http({
    url: 'machine-task/',
    method: 'GET',
    data
  })
}
// 获取任务详情
export const getTaskDetailAPI = (data: any) => {
  return http({
    url: 'task-info/',
    method: 'GET',
    data
  })
}
// 获取用户信息
export const getTaskInfoAPI = () => {
  return http({
    url: 'user-info/',
    method: 'GET'
  })
}
